/*
 Copyright To change this template, choose Tools | Templates
 Copyright and open the template in the editor.
 */

package com.click.app.service.impl;

import com.click.app.dao.LaundryStorageDao;
import com.click.app.model.LaundryStorage;
import com.click.app.service.LaundryStorageManager;

/**
 * @author Joel Chuca Condo
 * @date 04/05/2009
 */
public class LaundryStorageManagerImpl extends GenericManagerImpl<LaundryStorage, Long> implements LaundryStorageManager {

    private LaundryStorageDao laundryStorageDao;

    public LaundryStorageManagerImpl(LaundryStorageDao laundryStorageDao){
        super(laundryStorageDao);
        this.laundryStorageDao = laundryStorageDao;
    }

    public LaundryStorage findByPantDesignAndTradeMark(Long idPantDesign, Long idTrademark){
        return laundryStorageDao.findByPantDesignAndTradeMark(idPantDesign, idTrademark);
    }
}
